package com.shine.app.bean;

import com.google.gson.annotations.SerializedName;

public class PlaceNearBean extends BaseBean {

	private static final long serialVersionUID = 1L;
	@SerializedName("Location")
	private PlaceBean location;
	@SerializedName("Distance")
	private double distance;

	public PlaceNearBean() {

	}

	public PlaceNearBean(PlaceBean location, double distance) {
		this.location = location;
		this.distance = distance;
	}

	public PlaceBean getLocation() {
		if (location == null) {
			location = new PlaceBean();
		}
		return location;
	}

	public void setLocation(PlaceBean location) {
		this.location = location;
	}

	public double getDistance() {
		return distance;
	}

	public void setDistance(double distance) {
		this.distance = distance;
	}
}
